/******************************************************************************
 * Product: Adempiere ERP & CRM Smart Business Solution                       *
 * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved.                *
 * This program is free software, you can redistribute it and/or modify it    *
 * under the terms version 2 of the GNU General Public License as published   *
 * by the Free Software Foundation. This program is distributed in the hope   *
 * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.           *
 * See the GNU General Public License for more details.                       *
 * You should have received a copy of the GNU General Public License along    *
 * with this program, if not, write to the Free Software Foundation, Inc.,    *
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                     *
 * For the text or an alternative of this public license, you may reach us    *
 * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA        *
 * or via info@compiere.org or http://www.compiere.org/license.html           *
 *****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;

import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;

/** Generated Model for BCS_ACRInputFormAppend4
 *  @author Adempiere (generated) 
 *  @version Release 3.7.0LTS - $Id$ */
public class X_BCS_ACRInputFormAppend4 extends PO implements I_BCS_ACRInputFormAppend4, I_Persistent 
{

	/**
	 *
	 */
	private static final long serialVersionUID = 20130702L;

    /** Standard Constructor */
    public X_BCS_ACRInputFormAppend4 (Properties ctx, int BCS_ACRInputFormAppend4_ID, String trxName)
    {
      super (ctx, BCS_ACRInputFormAppend4_ID, trxName);
      /** if (BCS_ACRInputFormAppend4_ID == 0)
        {
			setBCS_ACRInputFormAppend4_ID (0);
			setBCS_AnnualFIStatementOvePeriod (null);
			setBCS_ApprovalDate (new Timestamp( System.currentTimeMillis() ));
			setBCS_DocNo_OrderProtocol (null);
			setNumber2 (0);
// @SQL=select (count(*)+1) as number
from bcs_acrinputformappend4 
where bcs_acrinputform_period_id = @BCS_ACRInputForm_Period_ID@
        } */
    }

    /** Load Constructor */
    public X_BCS_ACRInputFormAppend4 (Properties ctx, ResultSet rs, String trxName)
    {
      super (ctx, rs, trxName);
    }

    /** AccessLevel
      * @return 3 - Client - Org 
      */
    protected int get_AccessLevel()
    {
      return accessLevel.intValue();
    }

    /** Load Meta Data */
    protected POInfo initPO (Properties ctx)
    {
      POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
      return poi;
    }

    public String toString()
    {
      StringBuffer sb = new StringBuffer ("X_BCS_ACRInputFormAppend4[")
        .append(get_ID()).append("]");
      return sb.toString();
    }

	/** Set BCS_ACRInputFormAppend4_ID.
		@param BCS_ACRInputFormAppend4_ID BCS_ACRInputFormAppend4_ID	  */
	public void setBCS_ACRInputFormAppend4_ID (int BCS_ACRInputFormAppend4_ID)
	{
		if (BCS_ACRInputFormAppend4_ID < 1) 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputFormAppend4_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputFormAppend4_ID, Integer.valueOf(BCS_ACRInputFormAppend4_ID));
	}

	/** Get BCS_ACRInputFormAppend4_ID.
		@return BCS_ACRInputFormAppend4_ID	  */
	public int getBCS_ACRInputFormAppend4_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_ACRInputFormAppend4_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_ACRInputForm_Company ID.
		@param BCS_ACRInputForm_Company_ID BCS_ACRInputForm_Company ID	  */
	public void setBCS_ACRInputForm_Company_ID (int BCS_ACRInputForm_Company_ID)
	{
		if (BCS_ACRInputForm_Company_ID < 1) 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputForm_Company_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputForm_Company_ID, Integer.valueOf(BCS_ACRInputForm_Company_ID));
	}

	/** Get BCS_ACRInputForm_Company ID.
		@return BCS_ACRInputForm_Company ID	  */
	public int getBCS_ACRInputForm_Company_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_ACRInputForm_Company_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_Annual FIStatementOverPeriod.
		@param BCS_AnnualFIStatementOvePeriod BCS_Annual FIStatementOverPeriod	  */
	public void setBCS_AnnualFIStatementOvePeriod (String BCS_AnnualFIStatementOvePeriod)
	{
		set_Value (COLUMNNAME_BCS_AnnualFIStatementOvePeriod, BCS_AnnualFIStatementOvePeriod);
	}

	/** Get BCS_Annual FIStatementOverPeriod.
		@return BCS_Annual FIStatementOverPeriod	  */
	public String getBCS_AnnualFIStatementOvePeriod () 
	{
		return (String)get_Value(COLUMNNAME_BCS_AnnualFIStatementOvePeriod);
	}

	/** Set BCS_ApprovalDate.
		@param BCS_ApprovalDate BCS_ApprovalDate	  */
	public void setBCS_ApprovalDate (Timestamp BCS_ApprovalDate)
	{
		set_Value (COLUMNNAME_BCS_ApprovalDate, BCS_ApprovalDate);
	}

	/** Get BCS_ApprovalDate.
		@return BCS_ApprovalDate	  */
	public Timestamp getBCS_ApprovalDate () 
	{
		return (Timestamp)get_Value(COLUMNNAME_BCS_ApprovalDate);
	}

	/** Set BCS_Dividends_PartOfNetProfit.
		@param BCS_Dividends_PartOfNetProfit BCS_Dividends_PartOfNetProfit	  */
	public void setBCS_Dividends_PartOfNetProfit (int BCS_Dividends_PartOfNetProfit)
	{
		set_Value (COLUMNNAME_BCS_Dividends_PartOfNetProfit, Integer.valueOf(BCS_Dividends_PartOfNetProfit));
	}

	/** Get BCS_Dividends_PartOfNetProfit.
		@return BCS_Dividends_PartOfNetProfit	  */
	public int getBCS_Dividends_PartOfNetProfit () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_Dividends_PartOfNetProfit);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_DocNo_OrderProtocol.
		@param BCS_DocNo_OrderProtocol BCS_DocNo_OrderProtocol	  */
	public void setBCS_DocNo_OrderProtocol (String BCS_DocNo_OrderProtocol)
	{
		set_Value (COLUMNNAME_BCS_DocNo_OrderProtocol, BCS_DocNo_OrderProtocol);
	}

	/** Get BCS_DocNo_OrderProtocol.
		@return BCS_DocNo_OrderProtocol	  */
	public String getBCS_DocNo_OrderProtocol () 
	{
		return (String)get_Value(COLUMNNAME_BCS_DocNo_OrderProtocol);
	}

	/** Set BCS_NetProfitLoss.
		@param BCS_NetProfitLoss BCS_NetProfitLoss	  */
	public void setBCS_NetProfitLoss (int BCS_NetProfitLoss)
	{
		set_Value (COLUMNNAME_BCS_NetProfitLoss, Integer.valueOf(BCS_NetProfitLoss));
	}

	/** Get BCS_NetProfitLoss.
		@return BCS_NetProfitLoss	  */
	public int getBCS_NetProfitLoss () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_NetProfitLoss);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_NumberAverage.
		@param BCS_NumberAverage BCS_NumberAverage	  */
	public void setBCS_NumberAverage (String BCS_NumberAverage)
	{
		set_Value (COLUMNNAME_BCS_NumberAverage, BCS_NumberAverage);
	}

	/** Get BCS_NumberAverage.
		@return BCS_NumberAverage	  */
	public String getBCS_NumberAverage () 
	{
		return (String)get_Value(COLUMNNAME_BCS_NumberAverage);
	}

	/** Set BCS_TotalExpenses.
		@param BCS_TotalExpenses BCS_TotalExpenses	  */
	public void setBCS_TotalExpenses (int BCS_TotalExpenses)
	{
		set_Value (COLUMNNAME_BCS_TotalExpenses, Integer.valueOf(BCS_TotalExpenses));
	}

	/** Get BCS_TotalExpenses.
		@return BCS_TotalExpenses	  */
	public int getBCS_TotalExpenses () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_TotalExpenses);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_TotalRevenues.
		@param BCS_TotalRevenues BCS_TotalRevenues	  */
	public void setBCS_TotalRevenues (int BCS_TotalRevenues)
	{
		set_Value (COLUMNNAME_BCS_TotalRevenues, Integer.valueOf(BCS_TotalRevenues));
	}

	/** Get BCS_TotalRevenues.
		@return BCS_TotalRevenues	  */
	public int getBCS_TotalRevenues () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_TotalRevenues);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Number2.
		@param Number2 Number2	  */
	public void setNumber2 (int Number2)
	{
		set_Value (COLUMNNAME_Number2, Integer.valueOf(Number2));
	}

	/** Get Number2.
		@return Number2	  */
	public int getNumber2 () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_Number2);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}
}